home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48_2 / link.tab < prev    next >
Text File  |  1991-04-12  |  1KB  |  50 lines

  1. Article 3160 of comp.sys.handhelds:
  2. Path: en.ecn.purdue.edu!noose.ecn.purdue.edu!samsung!rex!wuarchive!sdd.hp.com!hp-pcd!hpcvra.cv.hp.com!rnews!hpcvbbs!akcs.dnickel
  3. From: akcs.dnickel@hpcvbbs.UUCP (Derek Scott Nickel)
  4. Newsgroups: comp.sys.handhelds
  5. Subject: HP 48SX Link Tables
  6. Message-ID: <278260bc:1558comp.sys.handhelds@hpcvbbs.UUCP>
  7. Date: 2 Jan 91 22:40:04 GMT
  8. Lines: 37
  9.  
  10. Link Tables in the HP 48SX.
  11.  
  12. A Link Table is how the HP 48SX locates a command given an XLIB number.
  13. Link Tables look like very large Binary Integers, but are actually a
  14. table of offsets to the commands.
  15.  
  16. <link-table> = <prolog><size><offset-0><offset-1>...<offset-n>
  17.  
  18. <prolog> = 02A4E (BIN5)
  19.  
  20. <size> = number of nibbles remaining (BIN5)
  21.  
  22. <offset-i> = offset from start of <offset-j> to command (BIN5)
  23.  
  24. The Link Tables for the basic HP 48SX are at:
  25.  
  26. 22651   002 (XLIB 2)
  27. 22E08   700 (XLIB 1792)
  28. 3834F   0F0 (XLIB 240)
  29.  
  30. for example:
  31.  
  32. 22651: 02A4E ! Binary Integer prolog
  33. 22656: 0078A ! size
  34. 2265B: F6F20 !   XLIB 2 0 is at 1957B (ASR)
  35. 22660: F6F3B !   XLIB 2 1 is at 1959B (RL)
  36. 22665: F6F56 !   XLIB 2 2 is at 195BB (RLB)
  37.    .
  38.    .
  39.    .
  40.  
  41. Note that the commands for XLIB 240 are stored in the 'hidden' part of
  42. the ROM, under the user memory (the XLIB 240 commands do not have
  43. associated names).
  44.  
  45.         Have fun!
  46.  
  47.         Derek S. Nickel
  48.  
  49.  
  50.